<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
 
	<head>
		
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		
		<?php echo $this->headTitle(); ?>
			
		<?php 
			echo $this->headLink()
								->appendStylesheet('/css/backend/reset.css')
								->appendStylesheet('/css/backend/style.css')
								->appendStylesheet('/css/backend/invalid.css')
								//->appendStylesheet('/css/backend/blue.css')
								//->appendStylesheet('/css/backend/red.css')
								//->appendStylesheet('/css/backend/ie.css')
								;
		?>
		
		<?php 
			echo $this->jQuery();
		?>
		
		<?php 
			echo $this->headScript()
									->appendFile('/js/backend.js')
									->appendFile('/js/facebox.js')
									->appendFile('/js/jquery.wysiwyg.js')
									;
		?>
		
		
		
	</head>
  
	<body><div id="body-wrapper">
		
		<div id="sidebar"><div id="sidebar-wrapper"> 
			
			<h1 id="sidebar-title"><a href="#">Simpla Admin</a></h1>
		  
			<a href="/"><img id="logo" src="/media/backend/logo.png" alt="Panel Administracyjny" /></a>
		  
			<div id="profile-links">
				Hello, <a href="/profile/edit" title="Edit your profile">John Doe</a>, you have <a href="#messages" rel="modal" title="3 Messages">3 Messages</a><br />
				<br />
				<a href="/" title="View the Site">View the Site</a> | <a href="/admin/auth/logout" title="Sign Out">Sign Out</a>
			</div>     
			
			<?php echo $this->navigation()->menu()->renderMenu() ?>
			
		</div></div> 


		
		<div id="main-content"> 
			
			<noscript>
				<div class="notification error png_bg">
					<div>
						Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
					</div>
				</div>
			</noscript>
			

			<?php foreach ($this->messenger() as $ns=>$msgs): ?>
				<?php foreach ($msgs as $msg):?>
					<div class="notification <?=$ns?> png_bg">
						<a href="#" class="close"><img src="/media/backend/icons/cross_grey_small.png" title="Zamknij" alt="close" />j</a>
						<div>
							<?=$msg?>
						</div>
					</div>
				<?php endforeach;?>
			<?php endforeach;?>

			<?php echo $this->layout()->content;?>
			
			



			<div id="footer">
				<small>
						&#169; Copyright <?php echo date('Y')?>
				</small>
			</div>
			
		</div> 
	</div></body>
  
</html>
